home *** CD-ROM | disk | FTP | other *** search
/ X User Tools / X User Tools (O'Reilly and Associates)(1994).ISO / sun4c / archive / tcltk.z / tcltk / man / catn / eof.n < prev    next >
Text File  |  1994-09-20  |  707b  |  67 lines

  1.  
  2.  
  3.  
  4. eof(n)                Tcl Built-In Commands
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NAME
  11.      eof - Check for end-of-file condition on open file
  12.  
  13. SYNOPSIS
  14.      eof _f_i_l_e_I_d
  15. _________________________________________________________________
  16.  
  17.  
  18. DESCRIPTION
  19.      Returns 1  if  an  end-of-file  condition  has  occurred  on
  20.      _f_i_l_e_I_d, 0 otherwise.  _F_i_l_e_I_d must have been the return value
  21.      from a previous call to open, or it may be stdin, stdout, or
  22.      stderr to refer to one of the standard I/O channels.
  23.  
  24.  
  25. KEYWORDS
  26.      end, file
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Tcl                                                             1
  64.  
  65.  
  66.  
  67.